home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr01
/
jock.zip
/
TOTDEM11.ZIP
/
DEMST3.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-02-11
|
677b
|
32 lines
program DemoStringThree;
{demST3 - number formatting}
Uses DOS, CRT,
totFAST, totSTR;
Var
Fmt: FmtNumberOBJ;
begin
ClrScr;
with Fmt do
begin
Init;
writeln(FormattedLong(2000,15));
writeln(FormattedReal(2000,2,15));
SetSign(PlusMinus);
writeln(FormattedLong(2000,15));
SetSign(DBCR);
writeln(FormattedReal(2000,3,15));
SetPrefixSuffix('$','');
writeln(FormattedReal(2000,3,15));
SetSeparators('*',',','.');
writeln(FormattedReal(2000,3,15));
SetJustification(JustRight);
writeln(FormattedReal(2000,3,15));
Done;
end;
GotoXY(1,23);
end.